import api from '../http'

//上传社区图片接口
//http://localhost:8099/common/CommunityUpload

//上传用户头像
//http://localhost:8099/common/UserImgUpload

//点击重置后的删除写入的图片
export const deleteImage = (params) => {
  return api({
    url: '/common/deleteImg',
    method: 'POST',
    params,
  })
}

// 删除oss图片
export const deleteOssImage = (params) => {
  return api({
    url: '/common/deleteOss',
    method: 'POST',
    params,
  })
}
